package cn.bld.service;

import cn.bld.entity.StorageRecord;
import cn.bld.entity.SysRole;
import cn.bld.entity.SysSupplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysSupplierService {
    public List<SysRole> findall();
    public Integer findCount( String supCode ,  String supName );
    public List<SysSupplier> findByCondition(String supCode , String supName, Integer offset, Integer size);
    public int insertSupplier(SysSupplier sysSupplier);
    public int checkSupCode(String supCode);
    public int deleteSupplier(Integer supId);
    public SysSupplier findById(@Param("id")Integer id);
    public int updateSupplier(SysSupplier sysSupplier);

}
